package com.fusion.lottery.auth.service;

import com.fusion.lottery.entity.auth.Source;
import com.fusion.utils.json.Msg;

public interface SourceService {
	
	/**
	 * 查询权限
	 * @param source
	 * @param start
	 * @param pageSize
	 * @return
	 */
	public Msg list(Source source,long start,long pageSize);
	
	/**
	 * 查询权限
	 * @param id
	 * @return
	 */
	public Msg get(long id);
	
	/**
	 * 修改权限
	 * @param source
	 * @return
	 */
	public Msg update(Source source);

}
